package models

import (
	"gorm.io/gorm"
)

type Patient struct {
	gorm.Model
	Name   string `gorm:"type:varchar(40)" json:"name"`
	Num    int    `gorm:"type:int(3)" json:"num"`
	Esx    string `gorm:"type:enum('男性','女性')" json:"esx"`
	Age    int    `gorm:"type:int(3)" json:"age"`
	Time   string `gorm:"type:varchar(100)" json:"time"`
	Img    string `gorm:"type:varchar(225)" json:"img"`
	Status string `gorm:"type:enum('待问诊','已会诊')" json:"status"`
}
